package com.yycx.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yycx.common.mybatis.base.entity.AbstractEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.yycx.common.mybatis.annotation.TableAlias;

/**
 * 客户收货地址
 *
 * @author flyme
 * @date 2020-08-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_custom_address")
@TableAlias("bca")
@ApiModel(value = "BusCustomSh对象", description = "客户收货地址")
public class BusCustomAddress extends AbstractEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "customAddressId", type = IdType.ASSIGN_ID)
    private Long customAddressId;

    /**
     * 账套ID
     */
    private Long companyId;

    @ApiModelProperty(value = "客户ID")
    private Long customId;

    @ApiModelProperty(value = "收货人")
    private String userName;

    @ApiModelProperty(value = "客户编号")
    private String customCode;

    @ApiModelProperty(value = "收货地址")
    private String address;

    @ApiModelProperty(value = "联系电话")
    private String telephone;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "状态")
    private Integer state;

    @ApiModelProperty(value = "地址类型")
    private Integer addressType;

}
